<?php
/* @var $this PartnerInvoiceController */
/* @var $model PartnerInvoice */
/* @var $form CActiveForm */
?>
<div id="update_form">
<!-- form start -->

<div class="zyWell">Fields with<span class="required">*</span>are required.</div>

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'partner-invoice-form',
	'enableAjaxValidation'=>false,
)); ?>
<?php echo $form->errorSummary($model); ?>

	<div class="row-fluid">
		<div class="span6">
			<div class="form-row control-group row-fluid">
				<?php echo $form->labelEx($model,'issued_user'); ?>
					<div class="controls span7">
						<?php echo $form->textField($model,'issued_user',array('size'=>60,'maxlength'=>100)); ?>
						<?php echo $form->error($model,'issued_user'); ?>
					</div>
			</div>
		</div>
		<div class="span6">
			<div class="form-row control-group row-fluid">
				<?php echo $form->labelEx($model,'user_id'); ?>
					<div class="controls span7">
						<?php echo $form->textField($model,'user_id'); ?>
						<?php echo $form->error($model,'user_id'); ?>
					</div>
			</div>
		</div>
	</div>
	<div class="row-fluid">
		<div class="span6">
			<div class="form-row control-group row-fluid">
				<?php echo $form->labelEx($model,'sumamount'); ?>
					<div class="controls span7">
						<?php echo $form->textField($model,'sumamount'); ?>
						<?php echo $form->error($model,'sumamount'); ?>
					</div>
			</div>
		</div>
		<div class="span6">
			<div class="form-row control-group row-fluid">
				<?php echo $form->labelEx($model,'undisbursed_amount'); ?>
					<div class="controls span7">
						<?php echo $form->textField($model,'undisbursed_amount'); ?>
						<?php echo $form->error($model,'undisbursed_amount'); ?>
					</div>
			</div>
		</div>
	</div>
	<div class="row-fluid">
		<div class="span6">
			<div class="form-row control-group row-fluid">
				<?php echo $form->labelEx($model,'issued_amount'); ?>
					<div class="controls span7">
						<?php echo $form->textField($model,'issued_amount'); ?>
						<?php echo $form->error($model,'issued_amount'); ?>
					</div>
			</div>
		</div>
		<div class="span6">
			<div class="form-row control-group row-fluid">
				<?php echo $form->labelEx($model,'create_time'); ?>
					<div class="controls span7">
						<?php echo $form->textField($model,'create_time'); ?>
						<?php echo $form->error($model,'create_time'); ?>
					</div>
			</div>
		</div>
	</div>
	<div class="row-fluid">
		<div class="span6">
			<div class="form-row control-group row-fluid">
				<?php echo $form->labelEx($model,'update_time'); ?>
					<div class="controls span7">
						<?php echo $form->textField($model,'update_time'); ?>
						<?php echo $form->error($model,'update_time'); ?>
					</div>
			</div>
		</div>
<div class="form-actions row-fluid">
	<div class="span7 offset3">
		<?php echo CHtml::submitButton($model->isNewRecord ? Yii::t("common","Create") : Yii::t("common","Save"),array('class'=>'btn btn-large btn-block')); ?>
	</div>
</div>
<?php $this->endWidget(); ?>
</div>
<!-- form -->